<%@page import="com.ia.uniweb.model.Student"%>

<html>
<body>
<div>
<h2>Uniweb profile information </h2>

<%
	
Student student = (Student)request.getAttribute("student-result");
if(student != null) {

%>

<div>First Name : <%= student.getFirstName()  %></div>
<div>Last  Name : <%= student.getLastName()  %></div>
<div>DOB : <%= student.getDobDDMMYY()  %></div>
<div>Course : <%= student.getCourse()  %></div>

<% } else { %>

<div>No profile found</div>

<% } %>

</div>
</body>
</html>